AccountListener

interface AccountListener

Interface implemented by objects that want to receive notifications when an account is modified.

Functions

Link copied to clipboard
abstract fun accountAdded(parentAccount: Account?, newAccount: Account?)

Is called when an account is added. Available as of build 256

Link copied to clipboard
abstract fun accountBalanceChanged(account: Account?)

Is called when the account balance is changed

Link copied to clipboard
abstract fun accountDeleted(parentAccount: Account?, deletedAccount: Account?)

Is called when an account is deleted. Note: The deletedAccount is no longer in the account tree, so be careful not to make a reference to this account in any transactions or reminders. Available as of build 256

Link copied to clipboard
abstract fun accountModified(account: Account?)

Is called when some aspect of the account is modified, such as account name, currency, etc.